package com.company.factory;

import com.company.command.ICommand;
import com.company.command.impl.EnterInputPathCommand;
import com.company.command.impl.ShowAllMemuICommand;
import com.company.command.impl.ShowCurrentPathICommand;

/**
 * @author : cyw
 * @date : created in  下午5:47 2021/6/11
 * @description : 命令工厂
 * @modified by :
 * @Version : $
 */

public class CommandFactory {
    public static ICommand getEnterInputPathCommandInstance(){
        return new EnterInputPathCommand();
    }
    public static ICommand getShowAllMemuICommandInstance(){
        return new ShowAllMemuICommand();
    }
    public static ICommand getShowCurrentPathICommandInstance(){
        return new ShowCurrentPathICommand();
    }

}
